Description:
MCP detects non-private methods and fields that are used by the declaring
class only. It is suggested that such class members should be made
strict private.
This audit does not check whether a public method or field
can be made
strict private because public members are considered
to be a part of the external interface.
Incorrect:
Array = class
private procedure Grow(size:integer);
// if this method is not called from outside of Array
// it can be made strict private
...
end;
Correct:
Array = class
strict private procedure Grow(size:integer);
...
end;
Refactoring: